.yangcan {
  background-color: #0a0;
}

.lgqskl {
  width: 300px;
  height: 100px;
  background-color: skyblue;
  text-align: center;
  line-height: 100px;
  cursor: pointer;
  display: block;
}

.lgq {
  width: 300px;
  height: 100px;
  text-align: center;
  line-height: 100px;
  background-color: tomato;
  display: none;
}

.xiequantai {
  height: 100px;
  background-color: blue;
}

.myj {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  margin: 0 auto;
  border-radius: 100px;
  text-align: center;
  line-height: 100px;
  background-color: aqua;
  cursor: pointer;
  transition: all .4s;
}

.xhm-box {
  position: relative;
  margin: 200px auto;
  width: 50px;
  height: 50px;
  /* perspective: 400px; */
  transform-style: preserve-3d;
  transition: all 2s;
}

.xhm-box div {
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 200px;
  color: crimson;
  font-size: 50px;
  opacity: .7;
}

.xhm-item1 {
  background-color: tomato;
  transform: translateZ(29px);
}

.xhm-item2 {
  background-color: cornflowerblue;
  transform: translateZ(-29px) rotateY(180deg);
}

.xhm-item3 {
  background-color: crimson;
  transform: translateY(29px) rotateX(-90deg);
}

.xhm-item4 {
  background-color: #d841d0;
  transform: translateY(-29px) rotateX(90deg);
}

.xhm-item5 {
  background-color: #61e738;
  transform: translateX(29px) rotateY(90deg);
}

.xhm-item6 {
  background-color: rgb(90, 20, 220);
  transform: translateX(-29px) rotateY(-90deg);
}

.xhm-box {
  transform: rotateY(30deg) rotateX(-60deg);
  animation: move 5s linear infinite;
}

.xhm-box:hover {
  animation-play-state: paused;
}

@keyframes move {
  25% {
    transform: scale(1);
  }

  50% {
    transform: rotateY(150deg) rotateX(570deg);
  }

  75% {
    /* transform: scale(1.2); */
  }

  100% {
    transform: rotateY(-180px) rotateX(-540) scale(1);
    /* transform: scale(1); */
  }
}

.xmt {
  width: 500px;
  background-color: pink;
  cursor: pointer;
}